home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13040 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  614 b 

  1. Path: strnbrg.a2i!strnbrg
  2. From: Theodore Sternberg <strnbrg@rahul.net>
  3. Newsgroups: comp.lang.c++
  4. Subject: Forward declarations: why won't they work?
  5. Date: 23 Mar 1996 03:05:04 GMT
  6. Organization: a2i network
  7. Message-ID: <4ivpp0$iut@hustle.rahul.net>
  8. NNTP-Posting-Host: foxtrot.rahul.net
  9. NNTP-Posting-User: strnbrg
  10.  
  11. Forward class declarations only seem to work sometimes.  When they don't 
  12. work, I get a compiler error to the effect that "struct foo is an 
  13. imcomplete type".  Can anyone tell me what's going on, i.e. when forward 
  14. class declarations are and are not possible?
  15.  
  16. Ted Sternberg
  17. San Jose, California, USA
  18.